package com.travelcloud.framework.controller;

import com.travelcloud.framework.annotation.NotControllerResponseAdvice;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 心跳检测
 *
 * @author Zee
 * @version 1.0
 * @date 2020/11/26
 */
@RestController
public class HealthController {
    /**
     * 心跳检测
     *
     * @return success
     */
    @GetMapping("health")
    @NotControllerResponseAdvice
    public String health() {
        return "success";
    }
}
